pathfinder object

This method destroys the current map so that no further search operations may be performed until a new one is set up.

bool destroy_map()

Parameters:
None.

Return value:
true on success, false on failure.

Remarks:
This method frees the internal resources associated with the map. Note that this is done automatically when the pathfinder object itself is destroyed.

This method must not be invoked from within the user callback.

Example:
See the main pathfinder chapter and the pathfinding tutorial.